package demo.spark.hurypoint.parser

/**
 * 特征用于任何待解析的单元.
 * @tparam Ori
 * @tparam Res
 */
trait ParseAble[Ori <: Any,Res <: Any] extends java.io.Serializable{
  def check(): Boolean;
  def prepare(origin: Ori, args: Any*): Unit
  def parse(origin: Ori): Res
}
